POV-Ray : Newsgroups : povray.off-topic : I know I could try this myself, but... : Re: I know I could try this myself, but... Server Time
6 Sep 2024 15:18:54 EDT (-0400)
  Re: I know I could try this myself, but...  
From: Warp
Date: 14 Dec 2008 19:49:02
Message: <4945a97e@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> If I have a bunch of lights inside a box, one light outside of a box, one 
> object to illuminate outside the box, and one camera outside the box, the 
> trace goes much faster if I remove the lights inside the box from the scene. 
> Apparently, POV isn't clever enough to know that the lights inside the solid 
> opaque box don't affect the scene outside the box.

  How about simply enclosing those light sources inside #if blocks?
If the camera is outside, don't create the inside light sources at all.

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.